package org.example.service;

import org.example.dao.Dynamic;
import org.example.enums.responseEnum;

import java.util.List;

public interface DynamicService {
    Integer addDynamic(Dynamic dynamic);

    responseEnum updateDynamic(Dynamic dynamic);

    responseEnum addDynamicImage(Dynamic dynamic);

    List<Dynamic> getDynamicList();

    List<Dynamic> getDynamicListByPage(Integer page, Integer size);

    int getMaxPageNumber(int pageSize);
}
